package com.bootdo.lvyou.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-09 16:35:40
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class LvyouScenicMarker extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//点的内容
		@HapiFeild("点的内容")
	private String context;
	
	//图标
		@HapiFeild("图标")
	private String icon;
	
	//经度
		@HapiFeild("经度")
	private Double lon;
	
	//纬度
		@HapiFeild("纬度")
	private Double lat;
	
	//类型
		@HapiFeild("类型")
		// 1是线  2是导览图的点  3是其他的点  比如 建筑 展览 等等
	private Integer type;
	
	//名字
		@HapiFeild("名字")
	private String name;
	
	//图片
		@HapiFeild("图片")
	private String pic;
	
	//引用
		@HapiFeild("引用")
	private Long refId;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;


	private Integer px;


	private String filePath;

	private Long joinId;


    public LvyouScenicMarker(){
    	this.px = 0;
    	this.createTime = new Date();
    	this.filePath = "";
    	this.joinId = -1l;
    	this.pic="";
    	this.context ="";
    	this.name = "";
    }



	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public Long getJoinId() {
		return joinId;
	}

	public void setJoinId(Long joinId) {
		this.joinId = joinId;
	}

	public Integer getPx() {
		return px;
	}

	public void setPx(Integer px) {
		this.px = px;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：点的内容
	 */
	public void setContext(String context) {
		this.context = context;
	}
	/**
	 * 获取：点的内容
	 */
	public String getContext() {
		return context;
	}
	/**
	 * 设置：图标
	 */
	public void setIcon(String icon) {
		this.icon = icon;
	}
	/**
	 * 获取：图标
	 */
	public String getIcon() {
		return icon;
	}
	/**
	 * 设置：经度
	 */
	public void setLon(Double lon) {
		this.lon = lon;
	}
	/**
	 * 获取：经度
	 */
	public Double getLon() {
		return lon;
	}
	/**
	 * 设置：纬度
	 */
	public void setLat(Double lat) {
		this.lat = lat;
	}
	/**
	 * 获取：纬度
	 */
	public Double getLat() {
		return lat;
	}
	/**
	 * 设置：类型
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	/**
	 * 获取：类型
	 */
	public Integer getType() {
		return type;
	}
	/**
	 * 设置：名字
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：名字
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：图片
	 */
	public void setPic(String pic) {
		this.pic = pic;
	}
	/**
	 * 获取：图片
	 */
	public String getPic() {
		return pic;
	}
	/**
	 * 设置：引用
	 */
	public void setRefId(Long refId) {
		this.refId = refId;
	}
	/**
	 * 获取：引用
	 */
	public Long getRefId() {
		return refId;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
